package com.dzx.design.structural.bridge;

/**
 * @author dzx
 * @ClassName:
 * @Description:
 * @date 2019年08月08日 17:09:52
 */
public class DepositAccount implements  Account{


    @Override
    public Account openAccount() {
        System.out.println("打开定期账号");
        return new DepositAccount();
    }

    @Override
    public void showAccountType() {
        System.out.println("这是一个定期账号");
    }
}
